MLabel – A small panel with text.
Creation: MLabel_New(caption$, alignment, x, y, pixelwidth)
caption$ - Label text.
alignment – Text alignment 0=center 1=left 2=right.
x – Pixel X coordinate for the top left corner of the label.
y – Pixel Y coordinate for the top left corner of the label.
pixelwidth – The width of the label in pixels.
Functions:
MLabel_Delete(index)
Deletes the label.
MLabel_Draw(index)
Draws the label to screen.
MLabel_SetText(index, text$)
Sets the text on the label.
MLabel_SetTextColor(index, color)
Sets the text color on the label.